package com.czl.base.data.bean.tengyun

import java.io.Serializable

class AssetHandleSortBean(
    var sortId: Int?=null,
    var sortName: String?=null,
    var sortNameTemp: String?=null,
    var sortCode: String?=null,
    var sortModel: String?=null,
    var sortNum: Int?=null,
    var stockNum: Int?=null,
    var useNum: Int?=null,
    var lossesNum: Int?=null,
    var badNum: Int?=null,
    var productId: Int?=null,
    var productName: String?=null,
    var productCode: String?=null,
    var productModel: String?=null,
    var storehouseId: Int?=null,
    var storehouseName: String?=null,
    var storehouseLocatId: Int?=null,
    var handleStorehouseId: Int?=null,
    var planAssetType: Int? = null,
    var reason: String? = null,
    var locationDesc: String? = null,
    var sortNo: String?=null,
    var model: String?=null,
    var position: Int? = null,
    var assetCount: Int? = 0,
    var assetCountStr: String? = "",
    var selected: Boolean? = false,
    var selectedInList: Boolean? = false,
    var storehouseLocatName: String? = null,
    var manageMode: Int? = 0,
    var handleSelectType: String? = "",
    var userId: Int? = null,
    var userName: String? = null,
    var price: Double?= null,
    var houseStoreName: String?=null,
    var planAssetTypeTemp: String? = "请选择拟处置方式",
    var selectChange: Boolean? = false,
    var inventoryBoolean: Boolean?= false,
    var damageBoolean: Boolean? = false,
    var storeBoolean: Boolean? = false,
    var locatList: MutableList<SortLocatList> = arrayListOf(),
    var sortList: MutableList<SortBean> = arrayListOf()
) : Serializable {
    fun getHandleResultStr(): String {
        if (planAssetType != null) {
            return HandleResultList[planAssetType!!]
        }
        return ""
    }

}
var aa = arrayListOf<String>("1")
class SortLocatList(
    var price:Double?,
    var stockNum: Int?,
    var assetCount: Int?,
    var storehouseLocatId: Int?,
    var locationDesc: String?,
    var inventoryId: Int?,
    var damageId: Int?
)